package fr.utbm.aiechat.packets;


public class Packets
{
	// UDP Broadcasted Packet
	// Who's connected ?
	public static final int DISCOVER_REQUEST = 1;
	public static final int DISCOVER_RESPONSE = 2;
	
	// UDP Broadcasted Packet
	// Gimme a list of the Channels
	public static final int CHANLIST_REQUEST = 3;
	public static final int CHANLIST_RESPONSE = 4;
	
	// TCP Packet
	// Join a channel. Could be public or private
	public static final int CHANJOIN_REQUEST = 5;
	public static final int CHANJOIN_RESPONSE = 6;
	
	// TCP Packet
	// Other User Activity
	public static final int USERJOIN_CHAN = 7;
	public static final int USERQUIT_CHAN = 8;
	
	// TCP Packet
	// Message the channel
	public static final int MESS_TO_CHAN = 9;
	public static final int MESS_FROM_CHAN = 10;
	
	// TCP Packet
	// Quit a Chan
	public static final int QUIT_CHAN = 11;
	
	// UDP or TCP ? Packet
	// Ask for GPS Position
	public static final int USERPOS_REQUEST = 12;
	public static final int USERPOS_RESPONSE = 13;
	
	// TCP Packet
	// Ask for Shared Files List
	public static final int USERSHARED_REQUEST = 14;
	public static final int USERSHARED_RESPONSE = 15;
	
	// TCP Packet
	// Download a file
	public static final int USERFILE_REQUEST = 16;
	public static final int USERFILE_RESPONSE = 17;
	
	public static final int USER_POSITION = 18;
	public static final int CHANOBJ_REQUEST = 19;
}

